<?php

class DataReader
{
	public $data;
	public $pos;
	public $size;
	
	function __construct($data)
	{
		$this->data = $data;
		$this->pos = 0;
		$this->size = strlen($data);
	}
}
?>